import '@/styles/index.scss' // global css

import Vue from 'vue'

import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import BearVue from 'kuan-bear-vue'
// import MintUI from 'mint-ui'

import App from './App'

import store from './store'
import router from './router'

import mixins from '@/utils/mixins'
import '@/components/icons' // svg组件
import MyComponent from '@/components/myComponnet/index' // 全局组件
import request from '@/utils/request'
import api from '@/api'

Vue.prototype.$http = request
Vue.prototype.$api = api

// Vue.use(MintUI)
Vue.use(Element, {
  size: 'small' // set element-ui default size
})
// 注入bearVue
Vue.use(BearVue)
// 注册全局组件
Vue.use(MyComponent)

Vue.mixin(mixins)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

